package com.coldchain.cys.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * <p>
 * 
 * </p>
 *
 * @author tianpeng
 * @since 2018-09-20
 */
@TableName("t_car_accident")
public class CarAccident implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 车辆事故
     */
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    /**
     * 司机的id
     */

    private String driverid;



    /**
     * 描述的内容
     */
    private String content;

    /**
     * 事故的类型
     */
    private String type;

    /**
     * 事故拍照
     */
    private String imagepath;

    /**
     * 纬度
     */
    private String lat ; 
   
    /**
     * 经度
     */
    private String lon ;
    
    /**
     * 创建时间
     */
    private Date createtime ;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDriverid() {
        return driverid;
    }

    public void setDriverid(String driverid) {
        this.driverid = driverid;
    }



    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getImagepath() {
        return imagepath;
    }

    public void setImagepath(String imagepath) {
        this.imagepath = imagepath;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getLon() {
        return lon;
    }

    public void setLon(String lon) {
        this.lon = lon;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }
}
